Add common CRC infrastructure for LZX, ZIP and XZ depackers

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>