DEPRECATE_MESSAGE doesn't actually get expanded; inline it at both sites.
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/23379
Test Plan: Imported from OSS
Differential Revision: D16495278
Pulled By: ezyang
fbshipit-source-id: 596438fbf3285d6eee7b5d27a014f87b6c261cf1