Add patch for prima to enable dumping

To be used when looking at what prima does.
Merge pull request #6 from pof2/prima-trace

Add patch for prima to enable dumping