app: add G_GNUC_PRINTF() to places where the args are a va_list

The trick is to use G_GNUC_PRINTF (n, 0).