rakefile: make foodcritic gem dependency optional

If the foodcritic gem is not installed, we should still be able to invoke "rake" without crashing.