[ET Trac] #2884: remove static variables used in Fortran wrappers