ACPI: HMAT: refactor hmat_register_target_device to hmem_register_device