Fix for an infinite loop in msi_plessey_mod1110

In msi_plessey_mod1110 there is an infinite loop because of signedness issue on "i" variable.