camera: fix HAL version detection