mitmproxy: switch to pillow; fixes #25522