lavu/frame: fix malloc error path in av_frame_copy_props()