Use curly braces around this `if` block, based on the [Spark style guide(https://cwiki.apache.org/confluence/display/SPARK/Contributing+to+Spark).

This wasn't previously documented... I've added a reference to the Spark style guide to the Shark wiki (https://github.com/amplab/shark/wiki/Contributing-to-Shark)