Replace more g_new0 with GEDA_MEM_ALLOC0
Relocate o_text_reset_refdes function to u_refdes_reset