Determine if a file descriptor is a terminal in Go