freedreno: Move rsc NULL check to before rsc dereferences.
Fix defect reported by Coverity Scan.
Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking rsc suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
Fixes: 6173cc19 ("freedreno: gallium driver for adreno") Signed-off-by: Vinson Lee vlee@freedesktop.org
cc: @robclark