datatype: Use width field as bit-width for arrays, too

Signed-off-by: Michael Buesch <m@bues.ch>