avcodec: use AV_OPT_TYPE_BOOL for refcounted_frames, side_data_only_packets and skip_...