llvmpipe: implement the new can_create_resource() function