__monetary_load(): check for calloc() failure
(cherry picked from commit 4d3b84f67c2e1c75414ba52578364e729f425103)