hwcontext_dxva2: make sure the sw frame format is the right one during transfer