Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism

Fixes #1765 and #1450.
This (and the similar line below) should use `NULL` since `current_formspec` is a pointer.