[AT-SPI] Fixed uint underflow risk