Fix "testStillCapture" crash issue

If no expected number of pictures are got, before clean up,
use testCase.resetWithErrorLog() to make sure no resource
is accessed after destroy.

BUG: 242440929

Signed-off-by: Fang Hui <hui.fang@nxp.com>
Change-Id: I4a2fa28ca1acb3d28b8092e4cc318b56a8832748
Merged-In: Id1a8da82b60b56a045b3d892d5d267c9fa14bd3d
1 file changed