Enhancement of spin–flop-induced magnetic hysteresis in van der Waals magnet (Fe1−xCox)5GeTe2