Inexact algorithm for continuous complementarity problems on measure spaces