staging/lustre/mgc: detach MGC dev on error