[PATCH v3 04/34] component: Move struct aggregate_device out to header file