Remove duplicate 'with_gil' declaration. (#39540)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/39540
This gets picked up by mypy as an error in 1.5.1, not sure if it's a different version or setting, but might as well fix.
Test Plan: Imported from OSS
Differential Revision: D21891772
Pulled By: gchanan
fbshipit-source-id: 6f95bcd0652007323cd0c79070425b64e0b71c55