APC/APCu: simpler solution for port number used in test suite (upstream)