[SPARK-2109] Setting SPARK_MEM for bin/pyspark does not work.

Trivial fix.