don't transition to off state if the camera is not idle even if the display gets switched off
don't transition to off state if the camera is not idle even if the display gets switched off

Capture an image and quickly dim the screen will cause us to burn CPU in the background
because pipeline manager is in state off but it failed to stop camera pipeline since it's
not yet idle.

Eventually camera will become idle and we will stop camera safely

alinelena/cameraplus,foolab/cameraplus,mlehtima/cameraplus,alinelena/cameraplus,alinelena/cameraplus,mlehtima/cameraplus,mer-hybris-kis3/cameraplus,mer-hybris-kis3/cameraplus,foolab/cameraplus,foolab/cameraplus,mer-hybris-kis3/cameraplus,mlehtima/cameraplus,mer-hybris-kis3/cameraplus,mlehtima/cameraplus,foolab/cameraplus,alinelena/cameraplus