datapath: add rounddown() definition into compatibility code