Following the interface of the Lua 5.2 bit32 library. Change-Id: I4bc9edc549dbc2d5fdca15ec3a326397a1212a8a