make rigfreq local
drop unneeded tests of HAVE_LIBHAMLIB and redundant code