i965: Add functions to abstract access to register types