Fixed the generic method type issue

Apparently the Swift compiler don’t like the KeychainItem protocol as a
generic method type constraint