[PATCH vkd3d 10/10] vkd3d: Properly compare integers in compare_register_range().