(updated master) missing restype on trainWithChannels python function

this patch fixes the bug of using iiboost on multithreading.