simplify get HdfsInputStream logic in HdfsFileInputStream

simplify get HdfsInputStream logic in HdfsFileInputStream, add two functions to replace reused code.
Why should this return a type `FSDataInputStream`? Why not `public void`?