[PATCH openEuler-1.0-LTS 09/13] acpi/nfit: improve bounds checking for 'func'