Crypto: Use dnet_offsetof from elliptics/core.h