Trebuchet : Check if target is null for cancelled events

If a drag is cancelled on the workspace, ensure not to reference
it in onDropCompleted since it will be null as per what DragController
passes in.

Reproduction steps :

Long press a hotseat icon
While dragging it, turn off screen.

Change-Id: If587e7c9c37ea2e24b7f9cc85db8249ab34dd19f
Initial translation import

Change-Id: I2abb8e418be8a02399b31af1d7e652b2fc6ae954