media: Change the location of dumping stats

The latest photos apk calls the setVideoSurfaceTexture
with a null bufferProducer. Hence the surface is set as
NULL.
Due to this, the video decoder is shutdown before the
surface is set. Hence the stats are lost. Thus when the
app calls reset after surface is set, the stats are not
printed.

Test: see dump stats
CRs-Fixed: 2063273

Bug: 62897827

Author: anubhavp@codeaurora.org

Change-Id: Iafc09c50840960be4a20e55b34d5d31ba6a2da49
(cherry picked from commit 563acd6f5a0bfc0174aee61a9ec04916fc227f14)
1 file changed