msm: kgsl: Wait for the shorter wait timeout value
msm: kgsl: Wait for the shorter wait timeout value

If wait timeout value is lesser then the default time to wait
for then use the smaller timeout value.

CRs-Fixed: 498631
Change-Id: Ib0e37d40da09d0711a97d6a12106a5e73c23070f
Signed-off-by: Shubhraprakash Das <af9cbceb8388e2170881d17f5ca88833c5c37ed6@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas