On amd64 and i386, acpi_machdep_init() adds hw.acpi.reset_video under
acpi_sysctl_tree. Since the tree moved to the end of attach, it no
longer exists at that point, so sysctl_add_oid() drops the node and the
sysctl documented in acpi(4) is missing. Found with KUBSAN.
acpi_machdep_init() cannot fail, so calling it after the tree does not
leave knobs behind on a failed attach.
Signed-off-by: Nick Price <nprice@FreeBSD.org>