aoc: dynamically allocate bitmap mask for service control size of bitmap mask is allocated from number of services to prevent out of bounds. Bug: 270148537 Change-Id: I9c83a7d340ec51e139f7caa2c16fd7ca22a7deb3 Signed-off-by: yixuanjiang <[email protected]>