Stop using deprecated EDS symbols

Also enable EDS_DISABLE_DEPRECATED define when compiling with enabled
maintainer mode, to make sure the EDS deprecated symbols will not
be used again.