Evacuation warning after NSW beach erosion