I'd say both or either. Maybe start with the foundation contractor, and if he or she seems a little unsure, bring in the engineer. Also, you're looking for a structural engineer, not civil. It can't hurt to have both look, maybe just your bank account.