[ndctl PATCH v4 1/6] libndctl: Refactor out add_dimm() to handle NFIT specific init