acpi: add implementation of aml_while() term