C fix -O3 95: protect against empty svref in global destruction