Add OS X support to clean_ipc.php

Adds support for OS X format of `ipcs`. The original format should be matched fine.

```sh
➜  PHP-Daemon git:(master) ✗ ipcs
IPC status from <running system> as of Fri Jan 17 20:12:57 CET 2014
T     ID     KEY        MODE       OWNER    GROUP
Message Queues:
q  65536 0x41046f6a --rw-rw-rw-  mikulas    staff

T     ID     KEY        MODE       OWNER    GROUP
Shared Memory:
m 458752 0x00000000 --rw-------  mikulas    staff
m  65538 0x4d04006c --rw-rw----     root    staff

T     ID     KEY        MODE       OWNER    GROUP
Semaphores:
s  65536 0x0b048802 --ra-ra-ra-  mikulas    staff
```