d3d9: Use the correct AddRef and Release macros.