Fixes infinite loops when call endProcess by adding a flag to check if the filter has already started the end process
Merge pull request #1295 from achambers16/fix-endprocess-loop

Fix infinite loops related to endProcess on GPUImageFilter