Add FreeBSD implementation of sizedMalloc

This also fixes the generic implementation to compile correctly.