cli: Init linenoise every time around loop

Saves the having to reinit parent linenoise when exiting nested commandloop.