Return early in TransformPoints if input is NULL.

Change-Id: I334f78b9429dfec78f758f10f8fc30f439d8c276
Merge topic '14615-fix-mpi-segfault' into master

e52eff07 Return early in TransformPoints if input is NULL.