racket/gui Windows: repair for use-before-initialization

Closes PR 14454