Use g_format_size() instead of custom code

Replace Convert_Size() and Convert_Size_1() with g_format_size() to
avoid potential invalid memory accesses.

Found with Coverity (CID 1163338 and CID 1163339).