Vic magistrate counselled over rape remark