Stop using legacy NODE_TYPE_CASTS() macro in svg/