Generalized Uncertainty Principle from Quantum Geometry