Merge pull request #1749 from WalterBright/fixcod1

Fix or'ing flags to wrong instruction in cod1.c
Merge pull request #1748 from WalterBright/fix9722

fix Issue 9722 - optimizer kills GOT to EBX load
Merge pull request #1750 from WalterBright/fix9729

fix Issue 9729 - interface thunk doesn't set EBX to GOT