Hmmm. I would probably write that off as a no go. It may be nothing more than some paint, as you suggested, that has come away. However I still wouldnt put it back in just in case it does something wonky once powered up.
You say it's come from a 500?
I may have a spare ram card laying around from my bricked 500. Where abouts do you live? UK or elsewhere?