BCD format conversion

The functions are valid only when -mcpu is set to target POWER9 or higher processors and the bcd.h file is included.