Fix OpenMP outlining of member functions

Variables that are outlined wiht a type different than void* and
are used in member functions must not cast to void*
Merge pull request #16 from royuelaalcaz1/royuelaalcaz1-openmp_tasks_arrays_bug

Fix OpenMP outlining of member functions
Merge commit 'ad91241da21d408b401cd51e2fc2742ecabf7dd1' into HEAD