Queensland’s opposition will ultimately back the contentious hate speech and gun law changes, while the government has made a last-minute change to the bill.