First-Order Algorithms for Nonlinear Generalized Nash Equilibrium Problems