Move ChibiOS Thread Hierarchy patch to configuration
The Thread Hierarchy Patch for ChibiOS can potentially be moved to the configuration files.
ChibiOS provides interfaces to add data fields to the thread structure and to induce code via hooks. Whether these interfaces suffice to realize the complete thread hierarchy functionality must be evaluated first, before code should be moved.