optimized interface/gemv.c for multithreading