On the Robustness of Kernel Goodness-of-Fit Tests