Some fixes to the JP HL, JP IX, JP IY routines