Add the calculate-ccmx subcommand to cd-it8

This is useful for finding the CCMX correction matrix.
Use _cleanup_free() in the client tools