Handle member fun ptr (ROOT-5467).

(cherry picked from commit 20b95e364e969bdbd64a62dc7ae24a170570732e)