ipc_shm: fix error handling in qb_ipcs_shm_connect()

This commit fixes the error handling paths 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.