wined3d: Get rid of redundant NULL checks for event query "extendedData".