Grain boundary-induced plasticity during thin film buckling