rts: Don't clear cards of zero-length arrays
Fix #21962 (closed), where attempting to clear the card table of a zero-length array resulted in an integer underflow.
Fix #21962 (closed), where attempting to clear the card table of a zero-length array resulted in an integer underflow.