camera: Update HAL API versions and fix warnings

Change-Id: I094e6bc6fa46504e7760e51427bc706fe5dcf38b
(cherry picked from commit bbf7fc8e388481bc8cef9aaeae240f766668a7f3)