Waste derived carbons for NOx control or syngas tar removal