sid: Use g_ascii_* function to fix an implicit declaration.