fix compiler warning in AddressGenerator

Change-Id: I7b56a0ee429d1757ac25edaeb2dfda97c70b1e27