tally: Adapt tally_approx_median to Samba coding conventions