Revert "Fix the build with WebKit 2.5"

This reverts commit d88f713fb1b23014adabe3733dcc724f2722417c.

Unfortunately we can't use WebKitVersion.h from the web extensions API.