Merge "libc: fix memchr implementation" into integration