gallivm: handle call attributes for llvm < 4.0 in lp_add_function_attr