Add HW bounding Box support to d3d backend

You should use SAFE_RELEASE here, it's the macro we use everywhere else to do this.