Fast transition of type-B quasi-periodic oscillation in the black hole transient XTE J1817-330