Generalize the simplification of pow(2.0, y) to pow(2.0 ** n, y) for all scalar and vector types.
This improvement helps some benchmarks in SPEC CPU2000 and CPU2006, such as 252.eon, 447.dealII, 453.povray. Otherwise, no significant regressions on x86-64 or A64.
Why don't we guard it with hasUnaryFloatFn similar to line 1264?