Fixing issue with WM_SampleRate

Fixing issue with WM_SampleRate. Patch by Ozkan Sezer (see
https://sourceforge.net/p/wildmidi/bugs/26/).