coverity/68215: removed failed variable and dead code path from f_readfile

Should fix Coverity issue 68215. Failed was never set to true (or at all), but was being used in some conditionals. I removed the section of code that was unreachable as well. Should fix #857