Inliner: Handle readonly attribute per argument when adding memcpy

Patch by: Vincent Lejeune