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