H.264 importer: Fix a memory leak introduced by the previous commit.
hevc: Apply refined bytestream reader.