cmd/compile: remove NewPtr/NewSlice calls with untyped string
cmd/compile: remove NewPtr/NewSlice calls with untyped string

This is follow up of CL 260699, NewPtr/NewSlice should not be called
with untyped string.

No significal change in performance.

name          old time/op       new time/op       delta
Template            167ms ± 5%        168ms ± 6%    ~     (p=0.549 n=9+10)
Unicode            73.9ms ±21%       69.5ms ± 5%    ~     (p=0.182 n=10+9)
GoTypes             611ms ± 4%        603ms ± 2%    ~     (p=0.356 n=10+9)
Compiler            3.07s ± 4%        3.05s ± 2%    ~     (p=0.356 n=9+10)
SSA                 7.61s ± 3%        7.49s ± 1%  -1.67%  (p=0.017 n=10+9)
Flate               114ms ±10%        110ms ±12%    ~     (p=0.165 n=10+10)
GoParser            148ms ±23%        138ms ±13%    ~     (p=0.436 n=9+9)
Reflect             377ms ± 9%        364ms ± 8%    ~     (p=0.105 n=10+10)
Tar                 149ms ±12%        151ms ±12%    ~     (p=0.315 n=10+10)
XML                 201ms ± 3%        206ms ± 8%    ~     (p=0.237 n=8+10)
LinkCompiler        308ms ± 3%        325ms ± 9%  +5.38%  (p=0.017 n=9+10)
[Geo mean]          352ms             348ms       -1.19%

Passes toolstash-check.

Change-Id: I1ca8e9635f1926e53e457bc06648fa08a5473bf3
Reviewed-on: https://go-review.googlesource.com/c/go/+/260859
Trust: Cuong Manh Le <54b4457f1dff6823379654eb5867596497ba782f@gmail.com>
Run-TryBot: Cuong Manh Le <54b4457f1dff6823379654eb5867596497ba782f@gmail.com>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Matthew Dempsky <e56ac2c500064424afac424d4b5e53bd0570a731@google.com>

nawawi/go,CAFxX/go,nawawi/go,nawawi/go,golang/go,nawawi/go,golang/go,golang/go,cloudflare/go,cloudflare/go,CAFxX/go,golang/go,CAFxX/go,CAFxX/go,golang/go,CAFxX/go,CAFxX/go,CAFxX/go,golang/go,cloudflare/go,golang/go,nawawi/go,cloudflare/go,golang/go,cloudflare/go,cloudflare/go,nawawi/go,cloudflare/go,nawawi/go,cloudflare/go,nawawi/go,CAFxX/go