Updated sip with Python 3 compatibility

I have updated the sip formula, so it now behaves as expected when passed a `--with-python3` flag, or a `--without-python` flag.

Related to issue #25735