[Bug 2272636] perl-SDL-2.548-22.fc41 FTBFS with SDL2-2.30.1: t/core_events.t fails: Can't use an undefined value as a subroutine reference during global destruction