Linfield put three past Warrenpoint Town to progress in the fifth round of the Samuel Gelston's Irish Cup.