error.c (error_print): Move increment out of the assert.