Ergodic retractions for families of asymptotically nonexpansive mappings