This fixes the GCC -Wreorder warning caused by initializing members in a different order than they were declared.
This upstreams the following commit from the Haiku OS project:
https://git.haiku-os.org/haiku/commit/?id=412e096a06b1502f1a099291e0a219a7429d1f4a