tally: Adapt shift_overflows to Samba coding conventions