st/osmesa: include u_inlines.h for pipe_resource_reference