Leinster Rugby secured second place in the United Rugby Championship with a dominant 68-14 win over Ospreys at Dublin's Aviva Stadium.