product_gtin: port to v8
Rename badly-named variable: ean13_len -> ean_len
Small code simplification
Merge pull request #22 from alexis-via/8.0-port-product-gtin

product_gtin: port to v8