wavpack: Fix an integer overflow