Verify that the value passed to ERR_PTR() isn't too negative.