dictionary: Avoid reference to undefined dictionary-server

Add a defvar so that the setter function for defcustom can set the
variable without triggering a warning.