Add declaration for static export_file_to_kinfo()
(cherry picked from commit 6e51d61a96c09d7c6785844602d0bb67d30b7f21)