tm, tmx: move small redundant skip_hf macro to ut.h