simplify get HdfsInputStream logic in HdfsFileInputStream

simplify get HdfsInputStream logic in HdfsFileInputStream, add two functions to replace reused code.
Sorry, I made a mistake, it should be "if (mHdfsInputStream == null) "