Make the thread function members of can_bus_t and can_bus_dev_t objects.