avutil: remove inline av_log2 from public API