Enable UBSan on FreeBSD. Patch by Viktor Kutuzov.