lib: add weak clz/ctz functions