game: use correct number of configured processors

unfortunately Runtime.getAvailableProcessors returns only online cores. Implement a
method in C to return the proper number of configured processors