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