lib: added BARRY_GCC_FORMAT_CHECK() for printf() style arg checking