have posix_spawnattr_setflags check for supported flags