Modification of the Youla-Kucera parameterization for linear mechanical systems subject to non-smooth impacts