avformat/movenc: Check ff_put_wav_header() return code

Fixes CID1212260
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>