lavfi: Make default get_video_buffer work with hardware frames