Rename str* -> bmk_str* and mem* -> bmk_mem*

This avoids conflicts between bmk and the standard namespace.