spirv: fix GLSLstd450Modf when the destination is function/private vector
We can't write to an individual component in a function_temp
vector, so we
have to use vtn_variable_store()
which does a load+insert+store.
We can't write to an individual component in a function_temp
vector, so we
have to use vtn_variable_store()
which does a load+insert+store.