prefixTransformers: allocate after transformation length is known
prefixTransformers: allocate after transformation length is known

Signed-off-by: Monis Khan <mok@microsoft.com>

Kubernetes-commit: 59e1a32fc8ed35e328a3971d3a1d640ffc28ff55

kubernetes/apiserver,kubernetes/apiserver