fix(hftest): prevent hftest to emit PSCI calls from SPs

The hftest framework when using uart control implementation emits a
PSCI_SYSTEM_RESET call when a test terminates as a matter of controlling
automation.
Such call is fine from the primary VM but is forbidden for secondary VMs
and SPs. It generates following errors in test logs:
NOTICE: SMC 0x84000009 attempted from VM 0x8001, blocked=1

At tail of standalone_main_secure.c, kmain calls hftest_ctrl_finish,
hftest_device_reboot, arch_reboot, then smc32(PSCI_SYSTEM_RESET).
This change adds hftest ctrl implementation reboot helpers which calls
hftest_device_reboot in the case of VMs. SPs end in an infinite wait
rather than rebooting.

Change-Id: If493f1620b143b33e87d5be1a9694af8140ec019
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
diff --git a/test/hftest/ctrl_uart.c b/test/hftest/ctrl_uart.c
index dd2d41e..d583a1d 100644
--- a/test/hftest/ctrl_uart.c
+++ b/test/hftest/ctrl_uart.c
@@ -71,7 +71,10 @@
 	 * subsequent logs belong to the next run.
 	 */
 	write(CMD_FINISHED);
+}
 
+void hftest_ctrl_reboot(void)
+{
 	/* Reboot the device. */
 	hftest_device_reboot();
 }