Accept terminal devices on MS-Windows in APIs that accept frame or display.

 src/w32fns.c (check_x_display_info): Accept terminal objects as
 argument, to follow what xfns.c does.