[inductor] Enable mypy checking for torch/_inductor/bounds.py (#109271)
Summary: Add type hints and enable mypy checking for torch/_inductor/bounds.py
Test Plan: lintrunner
Pull Request resolved: https://github.com/pytorch/pytorch/pull/109271
Approved by: https://github.com/lezcano