wavpack: limit extra_bits to 32 and use get_bits_long