utils: Call exit instead of abort when assertions fail

This will prevent unnecessary core files to be generated in tests (eg.
file-validate dumps core when called with non-existent file as an
argument).

Change-Id: I06907914d9e4adbb3209392fdb082487ff49826c