Dogs rally late to defeat Gents, 56-51