[dynamic polymorphism] use #if instead of #ifdef for the guard
we add a compatibility layer, when DUNE_ISTL_SUPPORT_OLD_CATEGORY_INTERFACE is enabled. We now ise #if instead of #ifdef to check for the flag and add the switch to scalar-product interface class.