[ndctl PATCH v2 01/10] libdaxctl: add interfaces in support of device modes