[testing] add ErrorInputs for `adaptive_{avg, max}_poolnd` (#90924)
Ref: https://github.com/pytorch/pytorch/pull/88906#discussion_r1040157313
Covers:
- [x] adaptive_avg_pool1d
- [x] adaptive_avg_pool2d
- [x] adaptive_avg_pool3d
- [x] adaptive_max_pool1d
- [x] adaptive_max_pool2d
- [x] adaptive_max_pool3d
Pull Request resolved: https://github.com/pytorch/pytorch/pull/90924
Approved by: https://github.com/mruberry