Add operator= to gnu::autosprintf.

Fix Savannah bug #33102.
Do not define __attribute__ in header files.

Fix Savannah bug #35313.