[libc] Some MSVC compatibility changes for src/string/memory_utils. (#158393) GitOrigin-RevId: 7aad3830fb208771254b4ae63a01042744471091