[ndctl PATCH 3/4] libndctl, test: fix a couple of unchecked returns