hwcontext_dxva2: split transfer_data() into upload/download functions