[PATCH 1/2] kernelbase: Break out of inner for-loop early in find_substring.