ipc_shm: fix error handling in qb_ipcs_shm_connect()

The request and response SHM segments were being closed under the wrong
labels, and the event SHM segment wasn't being cleaned up at all.
Merge pull request #120 from AnchorCat/shm-connect-cleanup

ipc_shm: fix error handling in qb_ipcs_shm_connect()