[Static Runtime] Add out variant wrapper for aten::index_select (#74321)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74321
This change adds out variant wrapper for aten::index_select.
Test Plan: Added a unittest
Reviewed By: mikeiovine
Differential Revision: D34928012
fbshipit-source-id: d808363d740d79fa25abee4dd33920fbb6ec7283
(cherry picked from commit ba9b3c0cd4ba240c4a2174f3376580a1880b2b4a)