Don't use ^(2::Int) in Data.Complex.magnitude; partially fixes trac #2450