Update map function to list comprehension in get_statisticsgen_dir_list function.
Update map function to list comprehension in get_statisticsgen_dir_list function.

PiperOrigin-RevId: 333733659

google/nitroml