Update opentest.c

Include "gencode.h" for non-gcc due to use of '__attribute__' further down.