librustc: Bump the offset when translating const structs. Closes #6352.