On Opial-type inequality for a generalized fractional integral operator