assert-* should use abort instead of error

The error function prints out usage, which is not relevant when assertions
are failing.