[PATCH v2 01/12] libnvdimm: Validate command family indices