Fix LWG Issue 2141: common_type trait produces reference types