Former NFL first-round pick Robert Nkemdiche found himself in some trouble last week ... when cops say they saw him walking out of a store with groceries in his pants ... but it was past run-ins with the law that got him put in the slammer....