use av_frame_alloc() if lavc is >= 55.28.1

As suggested by JanSimek: https://github.com/RobertBeckebans/RBDOOM-3-BFG/pull/138

Did a test and it worked for me.