Fix creating unnecessary temporary object with refcount
Fix creating unnecessary temporary object with refcount

Using the SQObject& is enough for HashObj() function.

In the following code

  RefTable::RefNode *RefTable::Get(SQObject &obj,SQHash &mainpos,RefNode **prev,bool add)
  {
    RefNode *ref;
    mainpos = ::HashObj(obj)&(_numofslots-1);

obj was SQObject and because HashObj() accepted SQObjectPtr&, a temporary
SQObjectPtr was created and refcounting was performed, which only lead to
unnecessary overhead.

mfxmfx/squirrel,albertodemichelis/squirrel,albertodemichelis/squirrel,mfxmfx/squirrel