Fix type issues in CAN module for PicoC.