lua: add official patches

from http://www.lua.org/bugs.html