Microslips as precursors of large slip events in the stick‐slip dynamics of sheared granular layers: A discrete element model analysis