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 branch 'cm-10.2' of git://github.com/CyanogenMod/android_kernel_google_msm into HEAD