add fio_getline into fio.*

It is mainly for reading .account_config so far.
integrate romfs_mount into romfs_get_file_by_hash

The advantage is reduction of code, but there is many casts caused by
inconsistency of pointer types and qualifiers. Note that the position
of romfs_get_file_by_hash is changed to avoid declaration warning.