Fix GwtGraphics.getDensity()

Previous commit changed to a double, which caused a type mismatch with the return type.