[vulkan] support dimensions negative indexing (#45068)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45068
Test Plan: Imported from OSS
Reviewed By: AshkanAliabadi
Differential Revision: D23816081
Pulled By: IvanKobzarev
fbshipit-source-id: bda753f3f216dac7c05b6f728a3bd6068e5d06a0