convert functions to akaros-style dirents

convM2A converts to akaros kdirents, which we hope to make less limiting
in the future. We might, for example, return more informative dirents
from the kernel and then cut them down to
POSIX-style braindead dirents in a library.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>