d3dcompiler_43: Make add_type_to_scope() static.