llvmpipe: Cast to pipe_reference * when increasing references
What does this MR do and why?
Avoid warnings with null-pointer dereferences, no real functional change as most
compilers already handle this correcly.
Fix defect reported by Coverity Scan.
Explicit null dereferenced
A null pointer dereference will occur.