add $current_locals global to wl_yield

The global $current_locals was missing from the wl_yield function, throwing a notice and a warning:
http://i.imgur.com/3LaRIc0.png