FShaderSource::ShrinkToLen

Reduces the set size of the stored string length, optionally shrinking the allocation.