[retroplayer] RAII'd the buffer in m_queuedFrame

thanks to poisson for the initial work