(rpl_calloc): Defend against buggy calloc implementations