target/profiling: Use the correct method to access registers