move dereferencing out of SwfdecAsValue macros