tiffenc: Check av_malloc() results.