Add ms_abi and sysv_abi attribute handling.

Based on a patch by Benno Rice!