nine: check return on resource_get_handle
this has a return code, and if it return false, this is probably an exit condition cc: mesa-stable Reviewed-by:Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!17775> (cherry picked from commit 188721d6)