[PATCH 5.15 110/144] tools/nolibc/string: Fix memcmp() implementation