Enhancement of the critical current by grain size refinement in Ta‐cosputtered NbN thin films