[PATCH 5.5 040/120] bpf: Improve bucket_log calculation logic