Fix issues related to changing QP

This fixes decoding of test stream added with pull request https://github.com/strukturag/libde265-data/pull/1