i965: Make a helper function intel_miptree_set_total_width_height()