test/encode/avcenc: Fix bug of ignoring QP value