On linear ODEs with a time singularity of the first kind and unsmooth inhomogeneity