[PATCH v5 4/4] ndctl: convert dimm actions to use util_filter_walk()