tnl: Use bitmask/ffs to iterate enabled lights