I attached a patch to pass a size variable into _thread_init(). It is against trunk.
ChibiOS has the very powerful macros THREAD_EXT* which can be used to modify the code in very useful ways. My use case is to add the ability to monitor the used thread stack size. I needed the ability to access size within THREAD_EXT_INIT_HOOK.