mp4sys: Move mp4sys_write_descriptor_header() into a generic place.
box: Forgot to allocate the list of 'ftab'.

This is a regression at 77284fdc .