fix Issue 9984 - inout qualifier is skipped for constructor arguments (template constructor only)