avcodec/ra144: Fix undefined integer overflow in add_wav()