vulkan/runtime: fix venus build on LoongArch
Related to #11006 (closed)
Since I'm unable to find any spec'ed requirement for the extend of dead code elimination must be done by the linker, it's better to untangle the dependency. This MR picks a prevously reviewed change and then reverts !28729 (merged).
Closes: #11476 (closed)
Edited by Yiwei Zhang