lang/libhx: update the port to version 4.3
Patch the test suite code to make it compatible with modern C++.
Reported by: portscout