script: Do not allocate memory when not needed
script: Do not allocate memory when not needed

When printing out the property value during a ClutterScript debug run we
generate the value's content using g_strdup_value_contents() - though we
do it unconditionally. The contents might not be printed (they most
likely won't, actually) and will be freed afterwards. This is
unnecessary: we can allocate the contents string after checking if we're
going to print out the debug note, thus avoiding the whole
allocation/free cycle unless strictly needed.

jigpu/clutter,djdeath/clutter,rkudiyarov/clutter_osx,djdeath/clutter-multithreaded,Distrotech/clutter,djdeath/clutter-android,jigpu/clutter,heysion/clutter-clone,GNOME/clutter,djdeath/clutter,heysion/clutter-clone,dlespiau/clutter,nobled/clutter,collects/clutter,spatulasnout/clutter,ebassi/clutter,rkudiyarov/clutter_osx,GNOME/clutter,jigpu/clutter,Distrotech/clutter,kerrickstaley/clutter-vala,collects/clutter,djdeath/clutter,ebassi/clutter,Distrotech/clutter,djdeath/clutter-android,spatulasnout/clutter,nobled/clutter,jigpu/clutter,spatulasnout/clutter,ebassi/clutter,ebassi/clutter,spatulasnout/clutter,djdeath/clutter,jigpu/clutter,collects/clutter,Distrotech/clutter,GNOME/clutter,rkudiyarov/clutter_osx,GNOME/clutter,GNOME/clutter,dlespiau/clutter,djdeath/clutter-multithreaded,rkudiyarov/clutter_osx,djdeath/clutter-android,Distrotech/clutter,collects/clutter,collects/clutter,kerrickstaley/clutter-vala,kerrickstaley/clutter-vala,ebassi/clutter,kerrickstaley/clutter-vala,djdeath/clutter-multithreaded,djdeath/clutter-multithreaded,dlespiau/clutter,heysion/clutter-clone,jigpu/clutter,heysion/clutter-clone,nobled/clutter,Distrotech/clutter,djdeath/clutter,djdeath/clutter,spatulasnout/clutter,djdeath/clutter-android,heysion/clutter-clone,djdeath/clutter-android