The code relocations getSectionOffset() returns the offset into the code
section for the data relocations it returns the offset into the data payload
which doesn't take into account the header of the data section.
As an alternative to this approach we could fixup all the FixupSection
fields of the data relocations once we know the header size.
The added test fails without this change (generates an invalid wasm
file).