HD 45583—a chemically peculiar star with an unusual curve of longitudinal magnetic field variations