Patching Go libraries to fix asciinema

Asciinema records your terminal session and allows you to replay it, for example, in your web browser by using a javascript library. To get it running on DragonFly, I had to patch several libraries written in Go. Basically what I had to do is to add DragonFly support for handling pseudo-terminals in Go.