Use lua_compare() in 5.2 since lua_equal() is gone

In 5.1 we had lua_equal() and lua_lessthan() and the greater than somewhere...

Anyway, in 5.2 those 3 become lua_compare() (used with the LUA_OPEQ/OPLT/OPGT defines).  This should fix it :-)