Replace avcodec_alloc_frame() with av_frame_alloc()

avcodec_alloc_frame() is deprecated, so use the newer call.
See http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b9fb59d2ab05fdfe89d3fb0d7ecbbd91e560f57d