lavc: Add coded bitstream read/write support for H.265