Career Brooklyn burglar gets 40 years to life for 8 thefts, cites drug problem