When filtering out shlib archs, compare wordsize first and then ABI arch string.

This is due to our ABI string ambiguitiy with amd64/i386 both being
x86. So compare the wordisze first and then the ABI string for the arch
rather than the direct ELF machine id -> string lookup.

Also add file path to the debug.