libds: merge the UF<->ACB flag mapping functions.