[PATCH 6.2 047/187] ACPI: tools: pfrut: Check if the input of level and type is in the right numeric range