Estimation of integrated squared density derivatives from a contaminated sample