camera: dont call cancelAutoFocus if the preview is stopped

Most sensors cant cancel autofocus when preview
is stopped.

Change-Id: I66c2ddcedf3ed42a00e8364daab2b2906ba3301c
Merge remote-tracking branch 'cm/cm-10.1'