fix problem when user mixes cdef and import

see test/import4.lua
unnecessary fprintf was imported by unrelated cdef ./test/myheader/my.h