Create udev_wait_changed_event

Previously udev_wait_event also allowed to look for different state
changes ("add", "remove", "change"). Now that udev_wait_event is now for
adding devices, create a new helper function for change events only.

The musca actions will need to look for "add" and "change" events.

Change-Id: I60bfc90c4c7688972717291af67083037ecf8da5
Signed-off-by: Dean Birch <dean.birch@arm.com>
18 jobs for musca in 16 minutes and 12 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Test
passed #85063
amd64
dispatcher-debian-10

00:02:26

passed #85065
amd64
dispatcher-debian-11

00:02:37

passed #85061
amd64
dispatcher-debian-9

00:02:40

passed #85064
amd64
server-debian-10

00:02:44

passed #85066
amd64
server-debian-11

00:04:32

passed #85062
amd64
server-debian-9

00:03:08

 
  Analyze
passed #85068
amd64
black

00:00:33

passed #85069
amd64
code_quality

00:00:22

passed #85070
amd64
coverage

00:06:32

57.56%
passed #85071
amd64
dockerfiles

00:00:20

passed #85072
amd64
job-schema

00:00:25

passed #85073
amd64
pylint

00:01:48

passed #85067
amd64-dind
sast

00:02:31

 
  Build
passed #85076
amd64
debian/10

00:01:37

passed #85075
amd64
debian/9

00:01:45

passed #85074
amd64
doc

00:01:14

passed #85077
amd64-dind
docker-amd64-dispatcher

00:04:38

passed #85078
amd64-dind
docker-amd64-server

00:05:05