An open mapping principle for set-valued maps