Fix the numeric error value comparison performed by error_cmp(). Identified by AppChecker and previously fixed by Darwin. Change-Id: I0a72fd381bef0b34b7e7d155bfff03ab4196d38e