st/mesa: use PROGRAM_ARRAY for storing structs containing arrays