Influence of geometrical nonlinearities on the shakedown of damaged structures