Extract cursor_shape.c from misc2.c and types/consts from structs.h
Remove CURSOR_SHAPE #ifdef tests

See issue #333