Fix fractional_max_pool3d_with_indices implementation (#35024)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35024
**TODO**: cherry-pick this PR into v1.5 release branch.
Test Plan: Imported from OSS
Differential Revision: D20559891
Pulled By: yf225
fbshipit-source-id: c2b5c005c0bd560b5a84d4cc9097dbd64ee902c0