format: Move is_fmt_type() prototype near more-related functions.