Accept a unitless second operand for modulo (#14087).

Change-Id: I491a2307b636b2e2e76d1c4a44cddb99eacdd94a