Fix bug with zero-length filemaps and rename bytepos_to_local_charpos to bytepos_to_charpos.
auto merge of #11904 : nick29581/rust/0filemap, r=alexcrichton