Bug 841467 - Fix assert to properly handle requests to allocate 0 bytes. r=n.nethercote

--HG--
extra : rebase_source : 96f4ca364285904c7b1580cfa6097399134788c6