Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism

Fixes #1765.