Use g_value_get_enum to create Go values from enums.

Fixes #39.