Thread safety fix for L1TriggerConfig/DTTPGConfig: Const function returns pointer or reference to non-const object

Fixed: Const function returns pointer or reference to non-const object
          const_cast used