msm: gemini: Remove PMEM reference for input buffer

Remove PMEM reference for input buffer to prevent PMEM
leak during error case.

CRs-Fixed: 287889
Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
(cherry picked from commit f02545235282df44dd808c523d0ec9c04be6d4fe)

Change-Id: I1b7a29873b13b8f161b7fa5d6351edf6ad8eab23
Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>
msm: camera: Clean up during open failure

Updated the reference count when open fails and did
proper cleanup.

CRs-Fixed: 287648
Signed-off-by: Sunid Wilson <sunidw@codeaurora.org>
(cherry picked from commit f521ef6c4402895abcfc46520db9dd6be81c28b5)

Change-Id: I6bf5d4b85022cfd2682fcec4f4c90ef8ce2fb2d2
Signed-off-by: Sunil Joseph <sunilj@codeaurora.org>