Adding a cmake option to activate the GIL ensure for python calls. Adggin gil ensure to paraview python calls.