Backport #9132 for randn performance.

Separate out the unlikely branch in randn() into its own function
and provide a fast path for the common case.