[name] Rename hb_ot_name_get_names() to hb_ot_name_list_names()

And swap return value positions, so can be annotated for gobject-introspectin.
diff --git a/src/test-name-table.cc b/src/test-name-table.cc
index ad6d493..3330527 100644
--- a/src/test-name-table.cc
+++ b/src/test-name-table.cc
@@ -43,8 +43,8 @@
   hb_blob_destroy (blob);
   blob = NULL;
 
-  const hb_ot_name_entry_t *entries;
-  unsigned int count = hb_ot_name_get_names (face, &entries);
+  unsigned int count;
+  const hb_ot_name_entry_t *entries = hb_ot_name_list_names (face, &count);
 
   for (unsigned int i = 0; i < count; i++)
   {