Text this: f(R) in Holographic and Agegraphic Dark Energy Models and the Generalized Uncertainty Principle