uuid: fix lowercase hex conversion