Adjust foreign item parsing to prepare for type aliases
Adjust foreign item parsing to prepare for type aliases

This will be required for parse_extern_type to return a different kind
of Api for the case of type aliases.

dtolnay/cxx,dtolnay/cxx,dtolnay/cxx,dtolnay/cxx