[iOS GPU] Fix max_pool_2d (#52431)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52431
The previous implementation was missing the padding information. Thus is not correct.
ghstack-source-id: 121950755
Test Plan:
- `buck test pp-macos`
- CircleCI
Reviewed By: SS-JIA
Differential Revision: D26508482
fbshipit-source-id: b28b99c399c4f1390a5cc4f023e470eed0f8c073