Fix PR23065. Avoid optimizing bitcast of build_vector with constant input to scalar_t...