Fixed error in getter's return value extraction
Use opus_str_error instead of rolling our own