Add implementations of various interlocked functions to atomic.c/.h.

Mainly 64-bit variants, but also InterlockedAdd ().
Add interlocked read/write functions to atomic.c/.h.

These are guaranteed to have sequential consistency regardless
of the bitness of the machine they run on.
Move definition of NEED_64BIT_CMPXCHG_FALLBACK to top of atomic.c.
Use __sync_sub_and_fetch () for atomic decrements for clarity.
Use InterlockedRead64 () for Interlocked.Read (long&).
Use InterlockedIncrement64 () for Interlocked.Increment (long&).
Use InterlockedDecrement64 () for Interlocked.Decrement (long&).
Use InterlockedExchange64 () for Interlocked.Exchange (long&, long).
Use InterlockedExchange64 () for Interlocked.Exchange (double&, double).
Use InterlockedAdd () for Interlocked.Add (int&, int).
Use InterlockedAdd64 () for Interlocked.Add (long&, long).
Correct our implementation of Thread.VolatileRead ()/VolatileWrite ().

We have various issues:

* All of the functions assumed that doing volatile loads/stores was
  enough, when load-acquire, store-release semantics were actually
  needed. This may have worked before purely by chance. We now use
  proper memory barriers so that we don't have to hope for the
  compiler and CPU to do the right thing.
* Removes the hack for 64-bit quantities on 32-bit systems. This is
  no longer needed now that we use explicit memory barriers in
  these functions. Also, these functions are not supposed to do
  atomic reads/writes in the first place - they're purely about the
  memory barrier semantics.
* The VolatileWrite (object&, object) overload was not using the
  volatile qualifier at all, thus not getting volatile semantics
  as per: http://gcc.gnu.org/onlinedocs/gcc/Volatiles.html
Use slow 64-bit cmpxchg for 32-bit ARM, MIPS, and PowerPC.

GCC doesn't provide a 64-bit __sync_val_compare_and_swap intrinsic
for these architectures.
Add an extension point in atomic.c.
Add mono_gc_wbarrier_generic_store_atomic () function.

This is used in place of mono_gc_wbarrier_generic_store () when
we need the store to be atomic with release semantics.
Remove commented-out irix path from configure.in.
Merge pull request #587 from madewokherd/gdipdllmap

Ignore the gdiplus dllmap on Windows.
Merge pull request #565 from rneatherway/master

This is a possible fix for finding xml documentation files
Merge pull request #260 from pcc/topmost

X11: improve handling of WS_EX_TOPMOST
Merge pull request #268 from pcc/menudeactivate

Cause MenuDeactivate event to be delivered when appropriate