Endpoint estimates for first-order Riesz transforms associated to the Ornstein--Uhlenbeck operator