Fix some test build errors in new unary pow.
For real^complex, we need the return type to be the output of
ScalarBinaryOpTraits. For complex<real>^int, we need the exponent to be
promoted to real for use in ScalarBinaryOpTraits.
Also removed some const qualifiers on return types, since these are often overly restrictive.