Fixes Issue 10875 - Introduce LinkageType enum for safer string comparison of function linkage types.