Mixing of surface and bulk electronic states at a graphite-hexagonal boron nitride interface