Fix MSVC6 /W4 warnings

in wav.c