Merge pull request #8693 from howard0su/warning_xinpu InputCommon: cleanup warnings of -Wclass-memaccess