gcc: Fix typo in check