[Metal] Add pin_memory check in empty_strided (#47228)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47228
Add the false checking if pin_memory has been specified to `False`
ghstack-source-id: 115715087
Test Plan:
- CircleCI
- Sandcastle
Reviewed By: IvanKobzarev
Differential Revision: D24690472
fbshipit-source-id: c65fc494fcd7b0b409a80c86e108a029ca7fd71e