math: introduce macro for integer log2

This introduces macro for calculating integer log2.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
1 file changed