std::isnan() is always available when using C++11, so just use it. Also pout the test for C++11 implementations of both wxIsNaN() and wxFinite() first, eventually the rest of the checks will become obsolete and will be removed. Closes https://github.com/wxWidgets/wxWidgets/pull/283