i965: Make add_const_offset_to_base() work at the shader level.