Fix compiler error for alternative explicit_operator_bool implementation

Move the error-catching comparison operators between unrelated types to
the global namespace (::), so they don’t take precedence over enums’ own
operators.
Fix MSC16 compiler warning due to old PSDK compatibility macros
Fix errors and warnings in Win32 implementation of abc::file_path