Change the LibReadline signatures to use UInt8*.

As suggested by @asterite in PR.