use vsync_len and hsync_len when calculating refresh rate

calculated refresh rate can be 3% off. reference:
https://code.google.com/p/android/issues/detail?id=69391

https://gerrit.omnirom.org/#/c/10124/