xfs: fix efi/efd error handling to avoid fs shutdown hangs