add missing include on <stdexcept> from Registry.h (#100036)
add missing include on <stdexcept> from Registry.h
Summary: This throws std::runtime_error in the header.
Test Plan: Rely on CI.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/100036
Approved by: https://github.com/Skylion007