codegen.c: Fixed improperly placed postfix increment which was causing problems
when compiling for INTEGRITY. Many thanks to Serge Plagnol for characterizing
and reporting this fault.