Enable __attribute__(format) for piglit_log functions
This MR moves the definition of PRINTFLIKE
from piglit-util.h to piglit-log.h so it's available from both files.
PRINTFLIKE
is then enabled for the 3 piglit log functions.
The 2nd commit is a fix of bad usage of piglit_loge.
Edited by Pierre-Eric Pelloux-Prayer