Move mir_task_wait() to after the fake task is done in GOMP_parallel_end.
Move mir_task_wait() to after the fake task is done in GOMP_parallel_end.

anamud/mir-dev,anamud/mir-dev,anamud/mir-dev,anamud/mir-dev,anamud/mir-dev