multiprocess program gets incorrect results with qemu arm-linux-user