vtkFFMPEGWriter: use av_malloc to match the av_free

Change-Id: I8aa9c0ee3cfcd3d58940593f53f335f18450724f
Merge topic 'ffmpeg-memory-mgmt-mismatch' into master

16b25ba0 vtkFFMPEGWriter: use av_malloc to match the av_free