msm: camera: icp: free device mem upon error
If icp hw type is invalid, free device memory allocation before
returning error code.
CRs-Fixed: 3385771
Change-Id: Ice9f533ead58d71aa5337ea57d85cfa97c898a2f
Signed-off-by: Sokchetra Eung <[email protected]>