Core/Gossip: Fix crash added in 6c64fa8de36dad958821c6078b3f2f5f5753a2fc

Fix NULL dereference crash caused by a typo in 6c64fa8de36dad958821c6078b3f2f5f5753a2fc