window: Remove the {,z}advoptions compat hack