tracing/boot: Fix trace_boot_hist_add_array() to check array is value