Fix more build issues, especially on Linux x86_64.

  1. Fix another call to bdwgc::collect() that needs to take a context arg now.

  2. Add --with-libatomic-ops=no to bdw configure to force use of local copy.

  3. Remove -shared from link args for bdw, ensures static libgc.a gets built.