camera: Update HAL API versions and fix warnings

This reverts commit a0b5d3dac75d281c0b7f73ebdf8a4c6e16229700.