Update R/mergePDF.R

Added Sys.which option for checking Ghostscript version along with suggested error checking.