fix integer overflow in WIFSTOPPED macro