Add deprecated attributes to deprecated members.

This fixes warnings about the doxygen comments not being in sync with
the attributes on the members. This should be the last of the
documentation comment warnings and -Wno-documentation-deprecated-sync
has been removed.

PLCR-543