[X86][AVX] Only shuffle the lower half of vectors if the upper half is undefined