qsvenc: store the sync point in heap memory