Detoxification of brominated pyrolysis oils