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