Add specs for comparing Etc::Passwd and Etc::Group
Only compare FFI::Struct if it's the same class

Fixes #2154