Fix enum return type in function pointer

When return type is a enum, libclang reports UNEXPOSED for functions but
ENUM for function pointers.  This could probably be a bug of libclang.
Small style fixes