The discard_changes netconf RPC requires the candidate capability. We were getting an exception when configuring that kind of device. Fixes #19529