[LIBS] Enrich bitops.h with additional APIs

This patch add rol64(), ror64() and for loop helper macros.

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