platform/x86: wmi: Fix opening of char device (CVE-2023-52864) | HOL Guard CVE