arm11: fix another infinite loop bug