librdf_log_message_code function

Retrieve error code from log message.