fix for code->cdata relocation

- The codegen assumes an indirect access to data,
  but cdata was treated as code segment so a direct
  relocation was emitted.