Fix ref undercount in BSON extension. PYTHON-494