Path-integral action in the generalized uncertainty principle framework