(Core) Backport 'removal of malloc/free for interrupt linked list by ricrpi
(https://github.com/mupen64plus/mupen64plus-core/pull/26)