Flagging high-street giant Marks & Spencer is recalling 12,000 items of children's wear after sewing needles were found still attached to garments.