[asan] move the .preinit_array hack into a separate file (added used attribute)