Refactor the code to create the 'user' table into a function.

http://w1.fi/cgit/hostap/tree/src/eap_server/eap_sim_db.c:db_table_create_pseudonym()

Signed-off-by: Thiago Farina <tfarina@chromium.org>