Changed print to use the result parameter from lldb

This is needed for the outputs to be shown in AppCode, as with vanilla print it doesn't show anything