[X86] Replace getScalarType with getVectorElementType when the type is already known...