fdb.lua: fix for weak values in _pvt; key type assertion in __index