checkasm: Check HAVE_GETSTDHANDLE here as well