Check for wp_is_mobile

Recommend using jetpack_is_mobile, as per https://github.com/Automattic/vip-scanner/issues/21