Made anonymous enum a typedef

Hi there :-) I started writing a Python (CFFI) wrapper for Sophia [0], and CFFI wouldn't manage to get SPO_CREAT and friends unless they were defined in a named typedef enum, so here is a small patch.

[0]: https://github.com/saghul/pysophia