[DataLoader] Fix util ImportError (#52459)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/52459
Test Plan: Imported from OSS
Reviewed By: glaringlee
Differential Revision: D26523941
Pulled By: ejguan
fbshipit-source-id: 8cd84982348687cf84fe5e821f51fbac43a783fa