pan/midgard: Bytemasks should round up, not round down