Iraqi forces have captured a key airbase from the Islamic State group that can serve as a launchpad for retaking the jihadist-held city of Mosul.