The read-out electronics of the AMS prototype RICH detector