Lawmakers in Tasmania have introduced financial compensation for historical convictions related to homosexuality.