[build] Fixed dictionary generation for models/base with rootstats

LDef_rootstats.h contained "pragma link off" statements that invalidated
all previous pragma link statements in LDef.h .