acpi, nfit, libnvdimm: fix / harden ars_status output length handling