gallivm: Fix build after removal of deprecated attribute API v3