fix the bug of "user-defined type in a Fortran interface"