Fix declaration of outline tasks
The programs instantiate outline tasks by adding #pragma oss task
around the definitions of the task functions. However, these functions are declared in the beginning of the source code as regular function. Mercurium suppoorted this case, but Clang does not. Thus, the pragmas should be moved to the functions' declarations.