[PATCH 6.6 033/603] string: Adjust strtomem() logic to allow for smaller sources