fix Issue 9536 - IFTI fails when calling a static member from const member