VOL-4260: Fix Duplicate T-Cont AllocId assigned to two different ONU devices

- The openolt resourcemanager used a different set of locks from TechProfile
  module for PON resource management resulting in corruption of resource
  pool. This bug was introduced as part of VOL-3936.

Change-Id: Ic4ac0dfb5abb3603206568c56b978ce66ea1adc8
diff --git a/internal/pkg/core/device_handler.go b/internal/pkg/core/device_handler.go
index e7e530a..60bd3bd 100644
--- a/internal/pkg/core/device_handler.go
+++ b/internal/pkg/core/device_handler.go
@@ -853,6 +853,7 @@
 		if dh.flowMgr[i] = NewFlowManager(ctx, dh, dh.resourceMgr[i], dh.groupMgr, i); dh.flowMgr[i] == nil {
 			return olterrors.ErrFlowManagerInstantiating
 		}
+		dh.resourceMgr[i].TechprofileRef = dh.flowMgr[i].techprofile
 	}
 	/* TODO: Instantiate Alarm , stats , BW managers */
 	/* Instantiating Event Manager to handle Alarms and KPIs */