[PATCH v4 3/3] kernel32: Add test for read-only cookie in loader