fix(ndk): remove the use of substr
from bsg_check_invalid_libname
#4131
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention