Add a default value for spacedim.

This matches all other existing places where we have both
'dim' and 'spacedim' as template arguments.