fix crash on big soundfont samples on Windows