atfork import warning should be suppressed when system_warnings = False

Fixes #9247