rdcost: fix dc portion of psy energy calculation

now flat blocks have energy of 0, as expected
rdcost: use floating point math to calculate psy rd cost

--HG--
extra : amend_source : e3eef7e1cc6a5345d17ad184d568377e1f46fa4c
rdcost: fix energy cost check, dc is already subtracted from the energy