Update indirect.c

Per suggestion from @daenzer in merge request 358 (xorg/xserver!358)
Changing while ( mask > 1 ) test to while ( mask && !(mask & 0x01)).
While the previous test works, it does not express the intent of this function as clearly as this test.
3 jobs for patch-1 in 7 minutes and 13 seconds (queued for 18 seconds)