Merge "msm:camera: Bound check the num_planes variable"