Compile debug.getmetatable().

Thanks to Karel Tuma.