Add v8 version detection to configure.ac

Detect if v8 version > 3.19 and define macro `V8_POST_3_19_API`

Change-Id: I8af6c5f9b83f977f414397833f320240f0eeca33
Add support for newer v8 versions (v3.22.23)

v8 versions post v3.19 does not allow copyable persistent objects
and few APIs have changed. Based on macro def `V8_POST_3_19_API`,
newer API or older API can be conditionally used.

Change-Id: I325d526eda9c0a9202809c003d6ea274447080bf