gcc: fix a bug in my non-existent semantics patch

.. which could lead to infinite loops when compiling. Oops.