[graphite] Protect against log2(0)
2 files changed