Add cache to RecordTemplate field getter/setter whose type needs to be coerced (custom type).
Note that RecordTemplate classes need to re-generated from .pdsc files to activate this feature.

RB=313443
BUGS=SI-1564
R=mtagle,gogenc,jbetz,slim,si-dev
A=slim