The Duchess of Sussex has said she is "devastated" by the death of one of her dogs.