st/mesa: fix a null pointer access
Fixes crash with llvmpipe on Windows. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102148 Cc: mesa-stable@lists.freedesktop.org Reviewed-by:Brian Paul <brianp@vmware.com> (cherry picked from commit 496a691e)