util: add printf format check attributes