camera: dont call cancelAutoFocus if the preview is stopped

Most sensors cant cancel autofocus when preview
is stopped.

Change-Id: I66c2ddcedf3ed42a00e8364daab2b2906ba3301c
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_packages_apps_Camera into jb-mv