userpref: Fix wrong documentation about return values of userpref_read_system_buid()

Also, add a debug message that will print the actual error code.
lockdown: Only set SystemBUID in pair_record_generate() if it actually contains a value

This will prevent a crash in libplist when plist_new_string() will be called with
a NULL pointer.