fix `haskell-indent-at-point' error if point is at the end of the buffer

fix `haskell-indent-at-point' error if point is at the end of the buffer