Allows to call HeapFree on a NULL pointer.

R=chrisha@chromium.org

BUG=

Review URL: https://codereview.appspot.com/133480043