Replace isinf with std::isinf.

using std::isinf causes compilation error in C++11 mode. This relates to https://github.com/jubatus/jubatus_core/pull/20.