Introduce processBuildVector as a next step to generalize code for cost estimation and code emission for gather/buildvector nodes. Differential Revision: https://reviews.llvm.org/D149973