[vulkan] Remove constant duplication for Vulkan optimize_for_mobile (#59276)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/59276
Test Plan: Imported from OSS
Reviewed By: cccclai, ngimel
Differential Revision: D28814072
Pulled By: IvanKobzarev
fbshipit-source-id: d5cfd1352a2e07cdd4708d19fe4320444521db78