Simplification of DecorateImmediate

Making use of a function defined at file level for an array initialization, should also ease the burden in object files where DecorateImmediate is heavily used