Add gain ceiling function

Add gain ceiling function to the HAL
Implement set gain ceiling function in ov9650
Change the main loop to accept gain ceiling command