Print location and terminate the program if an assertion fails