Raw.xs: Provide sv_unmagicext if not available
WIP: Thread safety!