Ticket 49541 - repl config should not allow rid 65535 for masters
Description: Reject adding a replica config entry with a rid of 65535 or higher,
and prevent setting master's rid to 65535 or higher.
https://pagure.io/389-ds-base/issue/49541
Reviewed by: mreynolds(one line commit rule)
(cherry picked from commit ebb00a4180693225cf3c2f4aced54dc33141fa77)