mbuf: avoid implicit demotion in 64-bit arithmetic