Add nqp::getstaticcode.

Abstracts away turning a closure to its original static code ref.
Use nqp::getstaticcode in 03-closures.t.