tools: Remove some unnecessary #undefs.