Fix win32 build error caused by #913 

Fixes a minor win32 compilation error caused by #913.

Moves the `isnan` and `isinf` compatibility functions from `dynamics_processor.cpp` to `lmms_math.h`.