Fix btp_realloc for zero size