bnd_reader: Namespaced preprocessor debug switches.

Unified with other IO implementations:
storage/algorithm: Fixed include guard.