Fix compilation errors after changes to #define THREAD_RUNTIME_ARRAY

Recent changes to the #define THREAD_RUNTIME_ARRAY broke the classpath-openjdk.cpp build