[reland][DNNL]:enable max_pool3d and avg_pool3d (#40996)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/40996
Test Plan: Imported from OSS
Differential Revision: D22440766
Pulled By: VitalyFedyunin
fbshipit-source-id: 242711612920081eb4a7e5a7e80bc8b2d4c9f978