[PATCH 4.19 30/58] libsubcmd: Fix use-after-free for realloc(..., 0)