wavpack: return an error on 0-sized blocks