Bug 898768 - Make CRC2D::IsTargetValid also check for null r=mattwoodrow