add write_gcm plugin

Should do an explicit AM_CONDITIONAL to enable the write_gcm plugin rather than having it just happen if the libraries are present.