The GoF definition you’re referring to isn’t for the generic term “composition” (which predates “Design Patterns” significantly), but the “composite pattern”
Composition vs Composite Pattern
Eric Elliott

Nope. The definition I’m referring to is indeed for composition.

Chapter 1. Introduction
: Inheritance versus Composition

“Object composition is defined dynamically at run-time through objects acquiring references to other objects.”