Make declarations from macros get appended instead of prepended.
BUG: 242660 (cherry picked from commit fa31290cec549cf99f47e3057ad041f510bd7bf9)