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