stmhal: Add CAN bus receive callbacks

This patch adds the possibility to register callbacks for reception of CAN messages.
For a function that has "simple" arguments (ie all positional, all required) it's simpler not to use the arg parsing mechanism, and just make a function that takes 3 args (self, fifo, callback).