Factor out the vector insert code in selectBuildVector into a new function, emitLaneInsert.
Replace part of it with emitScalarToVector, since it was an equivalent code sequence.
This will make implementing G_INSERT_VECTOR_ELT easier, since we can share the code.