Deal with a non-incremented iterator by changing a while (condition) { 	do_stuff() 	increment_condition /* this was missing */ }
Deal with a non-incremented iterator by changing a
while (condition) {
	do_stuff()
	increment_condition /* this was missing */
}

To a for loop like it always should have been. I have no idea what I was
smoking when I wrote this function.

Fixes the crash on hardware that does bit 17 swizzling (turns out the
three I know of are all 945s) as soon as we first unbind an object.

Thank you very much to Brandon Mercer for actually managing to get me a
crash dump so i could debug this, and also for testing the fix.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars