Fixes deadlock on costmap2d shutdown

Declare SubscriberBase before MessageFilterBase so that the former gets unregistered from the message filter before the message filter gets destructued on costmap destruction