ultrahdr: Add unit tests for encoder APIs

Test encoder APIs for invalid arguments

Bug: 282643658
Test: ./libultrahdr_test

Change-Id: Ic6e52708ab30f112d8060a5c682647ab0c968603
1 file changed