Remove usage of power_mod, substituting replace_power instead

See: https://github.com/clintbellanger/flare-engine/pull/1131