Fix use of uninitialized value in wav.c

Old version uses uninitialized `*size` if the file is corrupt.