Fix for incorrect implementation of reduce_[min|max]_[float|double]

This fixes reduce_[min|max]_[float|double] fails at -O0