cmake/FindLuaLibs: fix LUA_VERSION_STRING for Lua 5.2

The definition of the macro LUA_RELEASE changed in Lua 5.2 and the
reported version string was just empty.

Parsing header files is not a very good idea in general, but appears
simpler than compiling a test program that queries LUA_RELEASE.