remove unused variables
move ref-pic-sets from decoder context to SPS and slice headers