Fix rate control issue with layers and aq-mode=3.
Fix rate control issue with layers and aq-mode=3.

When aq-mode=3 is enabled, only for base layer frames should the
qp of the frame incorporate the segment delta-qp.

This was causing more rate mismatch for the enhancement layer frames
when running temporal layers with aq-mode=3 on.

Change-Id: I1c5e69d1ef8a51188af8696753c17fd8f67699b3

shacklettbp/aom,mwgoldsmith/libvpx,shyamalschandra/libvpx,ittiamvpx/libvpx-1,thdav/aom,liqianggao/libvpx,shyamalschandra/libvpx,goodleixiao/vpx,VTCSecureLLC/libvpx,mwgoldsmith/vpx,openpeer/libvpx_new,jmvalin/aom,felipebetancur/libvpx,webmproject/libvpx,shacklettbp/aom,running770/libvpx,Topopiccione/libvpx,mwgoldsmith/libvpx,zofuthan/libvpx,jmvalin/aom,openpeer/libvpx_new,GrokImageCompression/aom,mbebenita/aom,liqianggao/libvpx,stewnorriss/libvpx,webmproject/libvpx,Topopiccione/libvpx,thdav/aom,smarter/aom,shacklettbp/aom,stewnorriss/libvpx,Topopiccione/libvpx,Topopiccione/libvpx,ShiftMediaProject/libvpx,running770/libvpx,shyamalschandra/libvpx,goodleixiao/vpx,ittiamvpx/libvpx-1,thdav/aom,GrokImageCompression/aom,luctrudeau/aom,felipebetancur/libvpx,openpeer/libvpx_new,openpeer/libvpx_new,ittiamvpx/libvpx-1,stewnorriss/libvpx,stewnorriss/libvpx,ittiamvpx/libvpx-1,running770/libvpx,liqianggao/libvpx,shyamalschandra/libvpx,felipebetancur/libvpx,webmproject/libvpx,mwgoldsmith/vpx,ShiftMediaProject/libvpx,ittiamvpx/libvpx-1,GrokImageCompression/aom,GrokImageCompression/aom,mwgoldsmith/vpx,stewnorriss/libvpx,Topopiccione/libvpx,zofuthan/libvpx,goodleixiao/vpx,mbebenita/aom,mwgoldsmith/libvpx,mbebenita/aom,running770/libvpx,Topopiccione/libvpx,mwgoldsmith/vpx,zofuthan/libvpx,ShiftMediaProject/libvpx,mbebenita/aom,jmvalin/aom,VTCSecureLLC/libvpx,zofuthan/libvpx,jmvalin/aom,webmproject/libvpx,stewnorriss/libvpx,shacklettbp/aom,smarter/aom,mbebenita/aom,GrokImageCompression/aom,luctrudeau/aom,liqianggao/libvpx,shyamalschandra/libvpx,mbebenita/aom,webmproject/libvpx,mbebenita/aom,liqianggao/libvpx,mwgoldsmith/vpx,mwgoldsmith/libvpx,VTCSecureLLC/libvpx,running770/libvpx,zofuthan/libvpx,mbebenita/aom,shacklettbp/aom,zofuthan/libvpx,thdav/aom,goodleixiao/vpx,luctrudeau/aom,felipebetancur/libvpx,felipebetancur/libvpx,luctrudeau/aom,mwgoldsmith/libvpx,VTCSecureLLC/libvpx,felipebetancur/libvpx,webmproject/libvpx,thdav/aom,goodleixiao/vpx,ShiftMediaProject/libvpx,luctrudeau/aom,shyamalschandra/libvpx,smarter/aom,mwgoldsmith/libvpx,smarter/aom,running770/libvpx,GrokImageCompression/aom,mwgoldsmith/vpx,jmvalin/aom,ShiftMediaProject/libvpx,ittiamvpx/libvpx-1,openpeer/libvpx_new,thdav/aom,jmvalin/aom,VTCSecureLLC/libvpx,mbebenita/aom,liqianggao/libvpx,goodleixiao/vpx,luctrudeau/aom,openpeer/libvpx_new,shacklettbp/aom,smarter/aom,VTCSecureLLC/libvpx,smarter/aom