Flip librt.RT_HRT_INTERNAL_MAGIC version compatibility

Version compatibility is opposite from what was present in the source code. Also, this cleans up the compare_version function a little bit (although I think the return values are unhelpful at the moment).