[PATCH 6.12 433/826] kasan: move checks to do_strncpy_from_user