gallivm: Move the texture modifiers to the header.