gpu: Made more careful calculation on dvfs.

Change-Id: I5b7c7e1b7aa44ff67a12bfcc9631b26635e540c7