shmget() returning EINVAL for constant size and flags