tests: loadrt must handle failure from rtapi_app_main

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>