io: Add missing GCC_FMT_ATTR (fix -Werror=suggest-attribute=format)