rc: allocate HRD SEI structures on demand, fix RCE vtable/memset bug