Also use `IS_USED(MODULE_FMT)` rather than the preprocessor and rely on the optimizer to eliminate the dead branch.