Runtime loader: Fix unchecked return value

Tested by running Attraction! from haikuware.com

CID 1228648