Fix for freebsd 8.2 compile

A simple fix for freebsd build to use the log2f replacement from OIIO when needed (freebsd < v8.3)