[SP] Fix IsFinite usage with RelWithDebInfo.
Merge branch 'master' into rend2