tally: Adapt tally_add to Samba coding conventions