sm: fix RMA offsets

Adjust the RMA header offsets to ensure the data is copied in to the
correct locations.