Add getdents on OpenBSD 5.5

The util.dirtable helper will try to use getdents, but it doesn't exist with declaring it here.