Analytical Calculation of Critical Anchoring Length of Steel Bar and GFRP Antifloating Anchors in Rock Foundation