havelib: Add support for MidnightBSD. * build-aux/config.rpath: Treat MidnightBSD like FreeBSD >= 4.