Merge "ultrahdr: update error checks in encode/decode path" into udc-dev