Build Python module and tests CPU mode with Bazel in CI
This can potentially catch issues like #77002 before they hit
Meta-internal CI, because Bazel is more strict about header visibility
than (our current setup of) CMake.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/78221
Approved by: https://github.com/malfet