ACPI: LoongArch: Validate ACPI IOVT device entries START and END device entries in ACPI IOVT should be paired and adjacent, while SINGLE entries shouldn't be between START and END. So add a iovt_validate_entries() function to validate the entries before the real parsing. By the way, move kzalloc_obj() from the ACPI_IOVT_DEVICE_ENTRY_END case to the ACPI_IOVT_DEVICE_ENTRY_START case, so as to avoid NULL pointer dereference. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>