Avoid batch-byte-compile warnings.
* Supply (current-buffer) as argument to kill-buffer, display-buffer, get-buffer-window -- this is the default, but it's nice not to get compiler warnings.
* Replace deprecated string-to-int with string-to-number.
* Fix bug in p4-file-revision-links and two calls to p4-diff2 with wrong args.