Probing the presence of a single or binary black hole in the globular cluster NGC 6752 with pulsar dynamics