Handle atomic{Load, Store}() for struct types.

No test case yet, as it will be submitted to upstream as part of
the fix for Bugzilla issue 12823.