added typecast to kprintf
pthreads: MorphOS fixes