Emit icmp instructions on raw capability operands, remove the ugly hack to cast them to integers first.
Fix operand order for CJALR.