package sdl_mixer: fix for double-freeing resources with WAV files