i965: Implement ARB_query_buffer_object