A nonlinear ergodic theorem for asymptotically nonexpansive mappings in Banach spaces