3w-xxxx: fix mis-aligned struct accesses