[patch] Fix report_r_debug for prelinked libraries