frameencoder: disable filter/extend lag when SAO and deblocking are off

This improves frame parallelism when all loop filtering is disabled
(aka: benchmark mode)
ABR - Removed unused states, cleaned up the comments.

Removed states that are not used in ABR or CQP rate contnrol modes.
lookahead: fix cost estimation, use previous result when calculation is skipped