gtrace: Add G_GNUC_PRINTF annotation
This allows compilers to check the format placeholders properly. It fixes compilation on clang, which gives a warning about untrusted strings being passed on to subsequent functions which require format placeholders.
Signed-off-by: Philip Withnall pwithnall@endlessos.org