[njs] Making njs_lexer_rollback() more generic.