gallium/hud: use new cso_save/restore_state() functions