Critical Shear Strain and Sliding Potential of Rock Joint under Cyclic Loading