[Vulkan]Fix build warnings-treated-as-error on Linux. (#52781)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/52781
Test Plan: Imported from OSS
Reviewed By: SS-JIA
Differential Revision: D26669311
Pulled By: AshkanAliabadi
fbshipit-source-id: 78b08d0b264d4d5cf8af964c589b9b7d0ddc7311