hevcdec: move decoder-independent declarations into a separate header