Mark RET as being a terminator, return instruction and barrier.

This avoids the dead code elimination to remove it along with other instructions.