Move existing active text session to inactive before modifying current
session to active

When there is already a active session running, and if request received to modify another opened session to active, then current active session is moved to inactive first and then requested opened session is moved to active.
If moving existing active session operation fails, then current modifySession request is rejected with NO_RESOURCES error

Updated UnitTests for changes

Bug: 312382726
Test: Verified VoWifi RTT calls, swap RTT calls, DSDA RTT calls
      atest ImsMediaNativeTests
Change-Id: Ia27d3e0aa6df165702248f9e86e653a37cac5943
6 files changed