ultrahdr: minor fixes in encoder and decoder fuzzer

- Moved declarations to header so that fuzzer app can make use of it.
- Fixed alloc, initializations in fuzzer applications

Bug: 294218453
Test: ./ultrahdr_enc_fuzzer

Change-Id: I058200caca57a8f7fe0087f9511d19857a4abef4
2 files changed