Fixing failed template inference: specialize function template instead of overloading function.
(To avoid complex64_t warnings when using min/max/clamp with non-complex64_t types).