camerahal: Fix crash on camera release

Change-Id: Id957d04a2822a0425184d2ac59bb1987cf92b107