clipboard : fix a bug in `_listenDocument`

`ev.clipboardData.items.length` may be 0 in the case of a text copy in
an input element, for example.  Such 0-length copies can always be
considered external.