build-unit-test-docker: update GCC to 12

Yocto is already using GCC 12.  Upgrade for compatibility.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0ab6e39efba280e4bf60305c9909ad35e71caec1
1 file changed