camera: dont call cancelAutoFocus if the preview is stopped

Most sensors cant cancel autofocus when preview
is stopped.

Change-Id: I66c2ddcedf3ed42a00e8364daab2b2906ba3301c

Patchset 1
http://review.cyanogenmod.org/#/c/46008/