[PATCH v5 03/32] component: Move struct aggregate_device out to header file