vp9-1 pass vbr: Use average QP for active_worst_quality, for inter-frames.
vp9-1 pass vbr: Use average QP for active_worst_quality, for inter-frames.

And replace some operation with shift.

Change-Id: If1ea874ee05b7238d5f954e55bb3ceda804a091a

GrokImageCompression/aom,webmproject/libvpx,webmproject/libvpx,luctrudeau/aom,mwgoldsmith/vpx,mwgoldsmith/libvpx,mwgoldsmith/libvpx,GrokImageCompression/aom,Topopiccione/libvpx,Topopiccione/libvpx,mbebenita/aom,smarter/aom,Topopiccione/libvpx,luctrudeau/aom,mbebenita/aom,mwgoldsmith/vpx,mwgoldsmith/libvpx,luctrudeau/aom,ShiftMediaProject/libvpx,mwgoldsmith/libvpx,luctrudeau/aom,webmproject/libvpx,mbebenita/aom,Topopiccione/libvpx,smarter/aom,smarter/aom,webmproject/libvpx,mwgoldsmith/vpx,webmproject/libvpx,Topopiccione/libvpx,ShiftMediaProject/libvpx,mbebenita/aom,mbebenita/aom,smarter/aom,GrokImageCompression/aom,mwgoldsmith/vpx,smarter/aom,luctrudeau/aom,mwgoldsmith/libvpx,mwgoldsmith/vpx,ShiftMediaProject/libvpx,mbebenita/aom,ShiftMediaProject/libvpx,ShiftMediaProject/libvpx,GrokImageCompression/aom,mbebenita/aom,smarter/aom,mbebenita/aom,Topopiccione/libvpx,mbebenita/aom,webmproject/libvpx,luctrudeau/aom,GrokImageCompression/aom,GrokImageCompression/aom,mwgoldsmith/vpx,mwgoldsmith/libvpx