No classical (anti-)de Sitter solutions with O8-planes