polarssl: Don't return -1 from sendfile on EAGAIN.
polarssl: Don't return -1 from sendfile on EAGAIN.

If no data is sent, but EAGAIN is set, return 0 instead of the usual -1.
This is a workaround as EAGAIN isn't checked when sendfile is used in
core.

Signed-off-by: Sonny Karlsson <c98c6360520d7645c8490dda7ccc4604d8ca1163@lotrax.org>

sujayraaj/monkeyTest,sujayraaj/monkey_rtems,dreamsxin/monkey,sujayraaj/monkeyTest,sujayraaj/monkey_rtems,sbagmeijer/monkey,monkey/monkey,dreamsxin/monkey,sbagmeijer/monkey,dougsko/monkey,monkey/monkey,monkey/monkey,sujayraaj/monkey_rtems,sujayraaj/monkey,sujayraaj/monkey_rtems,dreamsxin/monkey,sujayraaj/monkeyTest,sujayraaj/monkeyTest,dougsko/monkey,sujayraaj/monkey,dougsko/monkey,WilliamRen/monkey-1,dreamsxin/monkey,sbagmeijer/monkey,WilliamRen/monkey-1,sujayraaj/monkey,WilliamRen/monkey-1,monkey/monkey,sbagmeijer/monkey,dougsko/monkey,monkey/monkey,sujayraaj/monkey_rtems,sujayraaj/monkey,dreamsxin/monkey,dougsko/monkey,monkey/monkey,sujayraaj/monkey,WilliamRen/monkey-1,sbagmeijer/monkey,WilliamRen/monkey-1