Use fprintf with stderr for now for regexp warnings

Since we don't want to always have to setup a native frame around here,
just print the warning to stderr here for now.

Fixes #2403