[FreeBSD] Provide FreeBSD-specific things for ASan.

Patch by Viktor Kutuzov!