[PATCH 4.14 187/195] acpi, nfit: fix register dimm error handling