Fixing a typo in the getops & releasing shared memory segments

In Default.pm, a wrong key was used, 'c' with the %opts to check for
Output.

In addition, seems like after running several executions with the JUnit,
looking at 'ipcs' some shared memory and semaphore arrays were not being
released back to the system.