mark unique pointer parameters as noalias

Closes #6749