The more recent version of lite-xl use the bit32 library and
the lua_Buffer functions. These function were not implemented
by the minimal compatiblity layer and are now added with this commit.
The code is adapted from:
https://github.com/keplerproject/lua-compat-5.2