Camera: Prevent callling of resize  before camera is initialized

Prevent callling of resizeForPreviewAspectRatio
before camera is initialized

Change-Id: If8595cd26f4b0e131aa97f6f1f14b2c98e7a21ad