Make reftests work on all platforms.
Update DrawTargetSkia to match mozilla-central implementation.