isom: Fix an inappropriate free of 'cslg'.
isom: Remove redundant 'if's for freeing.
isom: Evaluate return value of lsmash_add_entry() properly.
isom: Set NULL to the 'location' in lsmash_cleanup_data_reference().