tests: Mark 'skipped' function with __attribute__((printf)).

With recent GCC, you get this warning:

tests-main.c: In function 'skipped':
tests-main.c:256:3: error: function might be possible candidate for 'gnu_printf' format attribute [-Werror=suggest-attribute=format]