Գրեք սա: Software Verification for Weak Memory via Program Transformation