Issue #16422: Use strings for rounding mode constants for better readability
and pickling compatibility.