Judge spares cocaine user jail, says ‘he should suffer no more for dabbling than Michael Gove’