Revert "msm: camera: make sure num_buf is not out of bound"

This reverts commit f0096350bdf1c4f88825f621607b1ac8f57670b6.
Revert "msm: camera2: cpp: Fix to correct pointer in copy_to_user call"

This reverts commit edf89c7fee5a0bd3ac15d428cd54b7d9ab316ccb.