ssh-keyscan2sshfp: Fix portability with BSD/Linux