replace deprecated finite() with isfinite()

Removes compiler warnings. See http://refspecs.linuxfoundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/baselib-finite.html

(Note: openMVG_test_solver_essential_five_point is failing, but is failing in the current HEAD as well)