Moved state struct into r_anal.h, and fixed a typo in anal2.c