camera: Fix hang when changing picture size

Change-Id: I46d060d470b96be56d84f273accf54702e72b321
Merge branch 'cm-10.1' of github.com:CyanogenMod/android_packages_apps_Camera into cm-10.1