Don't trailingslash Order Cancel URLs with a Query String

With non-pretty permalinks enabled, this was producing a URI like
http://example.com/?page_id=7/  That final unnecessary trailing slash
messes up some redirect gateways that are passed the cancel URL
Merge pull request #5101 from justinstern/master

Don't trailingslash Order Cancel URLs with a Query String