Revert "Fix crash on exit due to recent MLT opengl change."

This reverts commit 56ddbe5c56d2808db7e04b42501bf9d802301063.
Only set m_lastFrame if not using GPU.