[PATCH] libnvdimm: Validate command family indices