Improved the codegen of the memcmp intrinsic