Precompile: remove an unsafe use of unsafeUseAsCString

The use was unsafe because the bytestring could be garbage-collected
before the regex object is.