msm: kgsl: Fix error returns in adreno_ringbuffer_issueibcmds

Don't try to free the link structure before it is allocated.
Return the error directly if it happens before the kzalloc()

Change-Id: I6e5bfe47a43c458f20d5799aee32c55a286ee8e3
Merge pull request #1 from CyanogenMod/cm-10.2

msm: kgsl: Fix error returns in adreno_ringbuffer_issueibcmds