[test.products_boundaryl2/elliptic] fix unsafe conversion warning