Move is_equale_<type> functions into the type specific macros.

This avoids "unused function" warnings.