general: fix non-literal format string errors
We have to explicitly mark the format string argument with G_GNUC_PRINTF to notify Clang that it should not emit the errors here.
We have to explicitly mark the format string argument with G_GNUC_PRINTF to notify Clang that it should not emit the errors here.