extconf: fix __mq_oshandle() detection on FreeBSD