Move enums used only in State out of typesettings/enums.h
Removed TARGET_RPI define