acpi: add a generic function to execute a method with one input and no output

Signed-off-by: Alex Hung <alex.hung@canonical.com>