Allow continuationreset to be given a continuation

It then invokes it, rather than invoking a code ref. This is ideal for
Rakudo's needs when implementing gather/take as it avoids adding an
extra stack frame every time we take.