wavpackenc: make assert more thorough