allow elementwise benchmarks to use scalars as first argument, fixes jni, yni and expni benchmarks