Firstly, yes, if you upgrade your onward flight from DXB you are entitled to lounge access, whether with cash or miles.
Secondly, and more importantly, any lounge is going to get boring if you have that long a layover. Since it's during the day, it's a great opportunity to spend some time in Dubai. Go to the malls to avoid the heat.