fix invalid printf formats

The test file of custom_printf contains an "invalid" format. Invalid formats are nonsensical formats that were accepted up to 4.01.0, are still accepted in 4.02.0 but sometimes with different semantics, and will be statically rejected by 4.03.0. This patch removes one test that contains such a format and changes another to make the format valid.