Remove redundant __gshared attributes