widgets/window: fix a compiler warning in rtgui_win_show

Reported-by: huangxi_hans on the forum