acpi: Factor out SDT functions to locate specified SDT