Check for ENOSPC on shmget() failure