[PATCH v4 11/21] libnd, nfit: add interleave-set state-tracking infrastructure