avcodec/utils: merge ff_decode_frame_props() and ff_init_buffer_info()