Restore old warnings.formatwarning after workaround

See https://github.com/saltstack/salt/pull/17298#issuecomment-62364647