platform: msm_shared: free smd channel if it is not NULL

smd channel should be freed only if it is not NULL.

Change-Id: I0cb417e0bec198303429bbbc55dbe17f6aa7b824
1 file changed