Add missing endif in crystallography mako template

Simple fix for bad template.

git blame shows @davestgermain touched this last for review