[1.7.x] Fixed #23111 -- Do not try to import getcallargs on Jython