gallivm: add helper lp_add_attr_dereferenceable