stmhal: Add CAN bus receive callbacks

This patch adds the possibility to register callbacks for reception of CAN messages.