Integration of gasification processes with another plant or parts within the plant with water treatments