Refines the recode loop

Uses number of 4x4 blocks using global motion as metric to
decide whether to recode or not.

Improves performance a little.
lowres: -0.658%

Change-Id: I6b1913b7bd31d7a25ca8ca5c75c9b6bb87151a78
5 files changed