lua: Fixed luasql.patch

Closes #4344