glsl: Use a new foreach_two_lists macro for walking two lists at once.