Merge "adb: create unix_isatty() function."