More efficient MINOF/MAXOF macros for gnuc/clang