rdb.c/rdbLoadObject: convert type when needed before pushed to a ziplist