HRCPP-138: Fix two Python script issues

Use the logging module in probe_port.py, and check for 32-bit JVM in
server_ctl.py.