Change cs_xop access check to use command order
Fix more compile warnings found on newer g++ versions