vect: Fix VLA SLP invariant optimisation [PR98535]