ncc: fix pointer arithmetic on struct ptrs