xfs: in btree_lshift, only allocate temporary cursor when needed