dump_dir_accessible_by_uid(): clear errno if error didn't occur

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>