When kobs-ng generates FCB with BCH ecc parity, ecc data might NOT byte
align, and requires join the ecc with real FCB data. When the ecc data is
byte aligned, the operation is not necessary, just simply copy the data.
Generalize the encode_bch_ecc function for different configurations.
Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>