qsvenc: change error check
qsvenc: call MFXVideoCORE_SyncOperation() in async