i965/blorp: Convert more stuff to C