Factorize serial port opening in GoodFETSerialPort().

git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1655 12e2690d-a6be-4b82-a7b7-67c4a43b65c8