gh-161452: Fix `python -m random` with a non-positive integer input (#161453)

Fix the random command-line interface printing a random float for a zero
or negative integer input instead of failing like --integer does.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
3 files changed