net/tap: update tap index to unsigned