Bugfix: nested profiler
Description
Fix a problem of nested calls to the same profiler in the case of multigrid on GPU.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.