[kmf-system-test] Cleanup and setup of KMS debug options with a parameter

Change-Id: Id77bd26f08535233ce25766125e12a0885a47c17