[CORE] Fix likely(x) and unlikely(x) so that we can have x as pointer values too

Till now, if we used pointer values as argument to likely() and unlikely() macros then we would get compile time warnings.

This patch fixes this issue with likely() and unlikely() macros.

Signed-off-by: Anup Patel <anup@brainfault.org>