Fix a bug introduced in 817a495019fc03375247362f2573c3a6ff211266.

r_debug_native_reg_profile return wrong profile if you debug 32bit
binary on 32bit linux system.