work around undefined behavior with __builtin_clzll(0)