Camera2: wait for previous saving picture done during panorama capture

If saving pano picture thread is still running during onResume,
we need to wait until it completes.

CRs-fixed: 637244
Change-Id: I9ae5cb75a930421325d2e7d4d1b30306c867c6cf