spirv: Add a vtn_get_mem_operands() helper