move ramdump relate dumpstate to gs-common

Bug: 248428203
Test: adb bugreport
Change-Id: I19ffce8e883b3ab88eae1ff7373b35c0ed517aa9
5 files changed