shmat return (void *) -1 on error

according to man page
report issue to right outlet

Signed-off-by: antoine@nusmuk-12.04 <antoine.villeret@gmail.com>
shmat return (void *)-1 on failure