Prevent main (UI) thread freezing on GPUImageMovie repeat

This is a simple fix for #1140.