Remove undefined variable errors

I work with Jetpack locally, and noticed a few PHP errors in the widgets. Not particularly important but thought I'd fix them since I was in the vicinity.