DuettoBackend: Cosmetic fixes to code generation
DuettoBackend: Fix offset for COMPLETE_OBJECTs