[Core] Fix freeze if opcode.txt file does not exist on .debug send opcode [s2082]

Idea by @xjose93

Thanks to @evil-at-wow for feedback

(based on commit [12591] - 3772bd3)