Revert "[Py3.10] Allow floats to be imported as Long (#81372)"
This reverts commit 69d73345a2ddece8e3f4715e0324bd66f5d7f8f3.
Reverted https://github.com/pytorch/pytorch/pull/81372 on behalf of https://github.com/DanilBaibak due to Break internal build