24 dead in Philippines landslides, flooding