Fix inifnite loop problem with M32R port