built_in: Add min_t() and max_t() macros and use them