Ratings firm Moody's has handed Diageo victory in a credit run-off against spirits rival Pernod Ricard.