[ROCm] Modified `test_with_memory_space` to include ROCm tests.
- Memory space exports for current serialization formats are now tested with ROCm
- Memory space exports for serialization formats before v6 are skipped for ROCm
- The testdata module `export_with_memory_space.py` has been modified to
include ROCm serialization data for format v6