Deduplicate SuppressUnmanagedCodeSecurity

This attribute can be applied at the class level, so we don't need to
copy it for every function.