Use a configure check for bswap16 instead of gcc version #ifdefs.