extras/slaveactivity: fix potential segfault if no master activity is set

There is some unprotected usage of mmaster in trigger. Starting a component with a SlaveActivity without a MasterActivity results in a segfault.

Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>