Rewrite and simplify enumeration of hamlib radios. Used code model
from hamlib example program rigctl.c. Hopefully this version will not
hang in Windows like the previous code.