Deputy Premier of Tasmania's Guy Barnett has opposed a Greens bill intending to end conversion practices in the state.