Fix the linkage of local types in inline VisibleNoLinkage functions.

We were handling only local types in inline External functions before.