Update CameraPreview.java

Check mCamera is not null. Prevent NPE which occurs when coming back from the lock screen with the cameraPreview is open on certain phones