svq3: move the frame num variables to the SVQ3Context