Fix yaca_memcmp() properly returning INVALID_PARAMETER