[PyTorch][JIT][easy] Delete unnecessary overload of MemoryDAG::mayAlias (#66966)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66966
T* is convertible to const T*, so we don't need this overload.
ghstack-source-id: 143749559
Test Plan: builds
Reviewed By: hlu1
Differential Revision: D31809824
fbshipit-source-id: 70cca86c4a87dc09cd958953a08a801db3e4d047