BUG: hypot(inf, 0) shouldn't raise a warning

inf * 0 == nan, but raises invalid.  Don't do anything really, until we
have dealt with the infs and/or nans.  This only effected windows or
whereever else we use our own implementation.

Fixes gh-2385