changes to pcsx2 to make it buildable with clang