wmaenc: check final frame size against output packet size