linux-user: Allow getdents to be provided by getdents64