Critical state models for flux‐pinning‐induced magnetostriction in type‐II superconductors