New lower bounds for the minimum distance of generalized algebraic geometry codes