Switch from per-driver to common definition of bin2bcd and bcd2bin