[PATCH v2 03/34] component: Move struct aggregate_device out to header file