Correct compiler flags for libedataserver-private.la

The compiler flags for .cpp files should not use the same warnings
as the .c files.
Bug 653157 - Enable extra compiler warnings in maintainer mode only

The 'extra' means also deprecated warnings. Those are not interesting
for non-developers.