Fix KernelProxy not expecting Mount::Getdents returning more than one dent at a time. 
Fix KernelProxy not expecting Mount::Getdents returning more than one dent at a time. 

MemMount does exactly that. As a result, a directory with "a, b, c, d" contents 
lists as "a, b, c, d, b, c, d, c, d, d".

BUG=http://code.google.com/p/naclports/issues/detail?id=18
Review URL: http://codereview.chromium.org/7739026

git-svn-id: 84b3587ce119b778414dcb50e18b7479aacf4f1d@440 7dad1e8b-422e-d2af-fbf5-8013b78bd812

adlr/naclports,dtkav/naclports,yeyus/naclports,clchiou/naclports,adlr/naclports,yeyus/naclports,Schibum/naclports,dtkav/naclports,kosyak/naclports_samsung-smart-tv,binji/naclports,kosyak/naclports_samsung-smart-tv,adlr/naclports,adlr/naclports,kuscsik/naclports,Schibum/naclports,dtkav/naclports,dtkav/naclports,binji/naclports,yeyus/naclports,Schibum/naclports,adlr/naclports,dtkav/naclports,Schibum/naclports,kosyak/naclports_samsung-smart-tv,clchiou/naclports,kosyak/naclports_samsung-smart-tv,clchiou/naclports,clchiou/naclports,Schibum/naclports,Schibum/naclports,yeyus/naclports,binji/naclports,kuscsik/naclports,clchiou/naclports,kuscsik/naclports,yeyus/naclports,kuscsik/naclports,yeyus/naclports,kuscsik/naclports,kosyak/naclports_samsung-smart-tv,binji/naclports,binji/naclports