Replace type %d (for enums) with %u in error messages (-Wformat)