Fix compilation with ASAN

Change-Id: I90c7413a73e868253bc91c647bd6a01ae04c0919
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3436
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: Henry Robinson <henry@cloudera.com>
(cherry picked from commit 9bdd73f9526fcb7348ab686e2c05777886028ba2)
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3458
Reviewed-by: Henry Robinson <henry@cloudera.com>
Tested-by: jenkins