Camera: Prevent callling of resize  before camera is initialized

Prevent callling of resizeForPreviewAspectRatio
before camera is initialized

( cherrypicked from commit 57698f01193a75948505d0d6c098364e155c6a5b )

Change-Id: I400dbf30c30f5e2a458eac8fe05449ee055cb0f4
CRs-Fixed: 598600