[bazel] fix integration test (#79843)
Fixes broken bazel `bazel test //:integration_test`
Bazel needs a way to download the mnist dataset that's used in the integration test.
This patch does it through a genrule.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79843
Approved by: https://github.com/malfet