avformat/dashdec: refine and fix code style of dash_read_header