[embind tests] Give AbstractClassWithConstructor a virtual destructor.

This is required for the IMVU build as it errors on this.