Less intrusive --disable-database-connectivity change for sw

Do compile in the SwDBFieldType class. Still bypass mail merge stuff.

Results in about 1.8MB reduction in text segment size for
TiledLibreOffice.

Change-Id: Iec900bd451d1b4154f3bf03f604783e548b8e7af