i965: Use get_element_ud to shorten texture header access.