core: print line for include_file errors
- easier to localize the error, reported by Raul Alexis Betancor Santana
(cherry picked from commit 2b680bde0605cbc1cb4840105fafc83a2a235ec5)
(cherry picked from commit d9a4c3b4aefeb87f62b06dd2bd55f23bdb804b43)