Speeding up PVQ using unlikely() and moving first position out of the loop

Speeds up encoding by another ~1-2%
3 files changed