val: use a goto for error handling in __val_alloc_array
val: use a goto for error handling in __val_alloc_array

This will make the next commit simpler.

Signed-off-by: Josef 'Jeff' Sipek <a620f141433c70aa9e43778305a6c68cbfadfb25@josefsipek.net>

jeffpc/libjeffpc,jeffpc/libjeffpc,jeffpc/libjeffpc,jeffpc/libjeffpc